package dao;

import pojo.Department;
import pojo.LogFamily;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by Administrator on 2017-12-10.
 */
public interface ClazzMapper {

    List<LogFamily> getAllLogFamily() throws SQLException;

    int deleteLogFamily(int id) throws SQLException;

    int deleteLogDepartment(int id) throws SQLException;

    int addLogFamily(String logFamily) throws SQLException;

    int addDepartment(String department) throws SQLException;

    List<Department> getAllDepartment() throws SQLException;
}
